home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ MSDOSSYS 4.xpl
< prev
next >
Wrap
Text File
|
1999-09-25
|
2KB
|
61 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="1"
"COUNT"="2"
"UIPATH"="System\Windows 95/98 Boot Options"
"NAME"="Delay Options"
"VERSION"="3.13"
"LANGUAGE"="VBScript"
"TEXT 1"="Key Delay (sec)"
"TEXT 2"="Menu Delay (sec)"
"DESCRIPTION 1"=""Key Delay" controls how long Windows displays the Message "Starting Windows..." in Windows 95."
"DESCRIPTION 2"="Windows 98 does not support this option."
"DESCRIPTION 3"=""Menu Delay" controls how long the Boot Menu is displayed."
"DESCRIPTION 4"="NOTE: Some of these items may not work on Windows 98 Second Edition."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
sF="C:\MSDOS.SYS"
sO="OPTIONS"
Sub Plugin_Initialize
If GetWinVer=1 or GetWinVer=3 then
Call FileSetAttribute(sf,"S-")
Call FileSetAttribute(sf,"R-")
Call FileSetAttribute(sf,"H-")
i=IniReadValue(sf,so,"BootDelay")
Call SetUIElement(1,i)
i=IniReadValue(sf,so,"BootMenuDelay")
Call SetUIElement(2,i)
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call IniWriteValue(sf,so,"BootDelay",s)
s=GetUIElement(2)
Call IniWriteValue(sf,so,"BootMenuDelay",s)
Restart
End Sub
Sub Plugin_Terminate
Call FileSetAttribute("C:\MSDOS.SYS","S+")
Call FileSetAttribute("C:\MSDOS.SYS","R+")
Call FileSetAttribute("C:\MSDOS.SYS","H+")
End Sub